package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Department;

import java.util.List;

public interface IDepartmentService {
    void delete(Long id);

    void saveOrUpdate(Department record);

    Department get(Long id);


    List<Department> getAll();

    Department getByUsername(String s);
    void changeState(Long id);

}
